﻿<navigation:Page
  x:Class="ServerBuildConsole.Home" 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
  mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"  
  Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot"  MinWidth="0" MaxWidth="1024" Background="White">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="10" />
      <RowDefinition Height="86*" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="200" />
      <ColumnDefinition Width="450*" />
    </Grid.ColumnDefinitions>
    <Border BorderThickness="1" Background="{x:Null}" Grid.Row="0" Grid.Column="0" Grid.RowSpan="4" Grid.ColumnSpan="3" BorderBrush="Silver" />
    <StackPanel Grid.Row="1" Name="panelNav" Margin="10" Background="#FF484848" Height="Auto" VerticalAlignment="Top" Width="150" HorizontalAlignment="Center">
      <HyperlinkButton x:Name="Link1" Style="{StaticResource LinkStyle}" NavigateUri="/Home" TargetName="ContentFrame" Content="Server Build" Background="#FF0097FC" MinWidth="78" Foreground="#FF0097FC"/>
      <HyperlinkButton x:Name="Link2" Style="{StaticResource LinkStyle}" NavigateUri="/PendingRequests" TargetName="ContentFrame" Content="Pending Requests" Background="#FF0097FC" MinWidth="78" Visibility="Collapsed" />
    </StackPanel>

    <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="10">
      <TextBlock Text="Server Build Request" FontSize="24" FontWeight="Bold" TextAlignment="Center" />
    </StackPanel>

    <StackPanel Grid.Row="1" Grid.Column="1" Name="panelMaster">
      <StackPanel Orientation="Horizontal">
        <Border Name="GoldBuild" Width="200" Height="120" Margin="10" BorderThickness="1" BorderBrush="Gray">
          <StackPanel Name="GoldBuildStackPanel" MouseLeftButtonDown="GoldBuildStackPanel_MouseLeftButtonDown" MouseEnter="BuildStackPanel_MouseEnter" MouseLeave="BuildStackPanel_MouseLeave">
            <TextBlock Height="23" Text="Golden Image" VerticalAlignment="Top" TextAlignment="Center" Margin="10" FontSize="16" FontWeight="Bold" Foreground="Goldenrod" />
            <TextBlock Text="This build is designed for the highest performance available." VerticalAlignment="Top" TextAlignment="Left" Margin="10,0,10,0" TextWrapping="Wrap" />
            <TextBlock Text="Cost:  $200 per server" VerticalAlignment="Bottom" Margin="10,26,10,10" TextAlignment="Left" TextWrapping="Wrap" />
          </StackPanel>
        </Border>
  
        <Border Name="CustomizedBuild" Width="200" Height="120" Margin="10" BorderThickness="1" BorderBrush="Gray">
          <StackPanel Name="CustomBuildStackPanel" MouseLeftButtonDown="CustomBuildStackPanel_MouseLeftButtonDown" MouseEnter="BuildStackPanel_MouseEnter" MouseLeave="BuildStackPanel_MouseLeave">
            <TextBlock Height="23" Text="Custom Image" VerticalAlignment="Top" TextAlignment="Center" Margin="10" FontSize="16" FontWeight="Bold"/>
            <TextBlock Text="This build has no options configured out of the box.  You must set all values" VerticalAlignment="Top" TextAlignment="Left" Margin="10,0,10,0" TextWrapping="Wrap" />
            <TextBlock Text="Cost:  Variable" VerticalAlignment="Bottom" TextAlignment="Left" Margin="10,10,10,0" TextWrapping="Wrap" />
          </StackPanel>
        </Border>
      </StackPanel>
    </StackPanel>
  </Grid>
</navigation:Page>